-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show in embedded editor field config option #2165
base: authoring-react-planning
Are you sure you want to change the base?
Conversation
Note: Since we haven't yet worked on the embedded event editor the condition: |
* If a field does not have show_in_embedded_editor or required toggled on | ||
* we must not show it in the embedded editor | ||
*/ | ||
if (!(fieldSchema.show_in_embedded_editor || fieldSchema.required)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll eventually use getPlanningProfileFields
for non-embedded editors too. Add a argument which would tell if you want to get fields for embedded editor or not.
STT-76
Front-end checklist
memo
orPureComponent
to define new React components (and updates existing usages in modified code segments)lodash.get
with optional chaining and nullish coalescing for modified code segmentssuperdeskApi
)superdesk-ui-framework
andsuperdeskApi
when possible instead of using ones defined in this repository.planningApi
where it is possible to usesuperdeskApi
planningApi
)